func go/types.inNode

18 uses

	go/types (current package)
		builtins.go#L72: 			check.invalidOp(inNode(call, call.Rparen), _WrongArgCount, "%s arguments for %s (expected %d, found %d)", msg, call, bin.nargs, nargs)
		call.go#L21: 		check.softErrorf(inNode(ix.Orig, ix.Lbrack), _UnsupportedFeature, "function instantiation requires go1.18 or later")
		call.go#L132: 			check.errorf(inNode(call, call.Rparen), _WrongArgCount, "missing argument in conversion to %s", T)
		call.go#L323: 				check.errorf(inNode(call, call.Ellipsis), _InvalidDotDotDot, "cannot use ... with %d-valued %s", nargs, call.Args[0])
		call.go#L350: 			check.errorf(inNode(call, call.Ellipsis), _NonVariadicDotDotDot, "cannot use ... in call to non-variadic %s", call.Fun)
		call.go#L385: 				check.softErrorf(inNode(call.Fun, ix.Lbrack), _UnsupportedFeature, "function instantiation requires go1.18 or later")
		call.go#L387: 				check.softErrorf(inNode(call, call.Lparen), _UnsupportedFeature, "implicit function instantiation requires go1.18 or later")
		errors.go#L260: func inNode(node ast.Node, pos token.Pos) posSpan {
		expr.go#L1422: 					check.error(inNode(e, e.Rbrace), _InvalidStructLit, "too few values in struct literal")
		index.go#L278: 		check.invalidAST(inNode(e, e.Rbrack), "2nd and 3rd index required in 3-index slice")
		stmt.go#L423: 			check.invalidOp(inNode(s, s.Arrow), _InvalidSend, "cannot send to %s: no core type", &ch)
		stmt.go#L428: 			check.invalidOp(inNode(s, s.Arrow), _InvalidSend, "cannot send to non-channel %s", &ch)
		stmt.go#L432: 			check.invalidOp(inNode(s, s.Arrow), _InvalidSend, "cannot send to receive-only channel %s", &ch)
		stmt.go#L445: 			check.invalidAST(inNode(s, s.TokPos), "unknown inc/dec operation %s", s.Tok)
		stmt.go#L474: 				check.shortVarDecl(inNode(s, s.TokPos), s.Lhs, s.Rhs)
		stmt.go#L483: 				check.errorf(inNode(s, s.TokPos), _MultiValAssignOp, "assignment operation %s requires single-valued expressions", s.Tok)
		stmt.go#L913: 				check.error(inNode(s, s.TokPos), _NoNewVar, "no new variables on left side of :=")
		typexpr.go#L279: 			check.softErrorf(inNode(e, ix.Lbrack), _UnsupportedFeature, "type instantiation requires go1.18 or later")